<div class="twelve columns alpha ">
    <div class="box">
        <div class="title"><img src="<?=url()?>templates/images/category.png" width="30">Tin mới đăng</div>
        <div class="">
        	<ul class="hd">
            	<li class="no">Stt</li>
                <li class="subject">Tiêu đề</li>
                <li class="town">Tỉnh/Thành</li>
                <li class="date">Ngày</li>
            </ul>
        	<?
				$i = 0;
				foreach ($list as $rs) :
					$i = $i + 1 ;
			?>
            <ul class="bd">
            	<li class="no"><?=$i?></li>
                <li class="subject"><a href="<?=base_url()?>rao-vat/chi-tiet/<?=$rs->raovat_id?>/<?=kodau($rs->lb_subject).ext?>"><?=str_limit($rs->lb_subject, 90)?></a></li>
                <li class="town"><?=!empty($rs->town_name)? $rs->town_name : 'tất cả'?></li>
                <li class="date"><?=shortdate($rs->dt_modify)?></li>
            </ul>
            <?
				endforeach ;
			?>
            <div class="paging"><?=$pagination?></div>
        </div>
    </div>
</div>
